import Layout from '@/components/layout'
export default [
    // 数据大屏管理模块
    {
      path: '/large-screen-management',
      component: Layout,
      name: 'large-screen-management',
      meta: {
        title: '组件',
        icon: '',
      },
      children: [
        {
          path: 'page1',
          component: () => import('@/views/pages/page1.vue'),
          name: 'page1',
          meta: {
            title: '自适应的Echart',
            icon: '',
          },
        },
        {
          path: 'page2',
          component: () => import('@/views/pages/page2.vue'),
          name: 'page2',
          meta: {
            title: '函数式组件',
            icon: '',
          },
        },
        {
          path: 'page3',
          component: () => import('@/views/pages/page3.vue'),
          name: 'page3',
          meta: {
            title: '产品加工',
            icon: '',
          },
        },
        {
          path: 'page4',
          component: () => import('@/views/pages/page4.vue'),
          name: 'page4',
          meta: {
            title: '仓储管理',
            icon: '',
            code: 'SJDPGL_CCGL',
          },
        },
        {
          path: 'sales-analysis',
          component: () => import('@/views/Home'),
          name: 'sales-analysis',
          meta: {
            title: '销售分析',
            icon: '',
            code: 'SJDPGL_XSFX',
          },
        },
      ],
    },
    // 种植生产管理
    {
      path: '/plan-product-management',
      component: Layout,
      name: 'plan-product-management',
      meta: {
        title: '种植生产管理',
        icon: '',
        code: 'ZZSCGL',
      },
      children: [
        {
          path: 'plan-product-index',
          component: () => import('@/views/Home'),
          name: 'plan-product-index',
          meta: {
            title: '概况',
            icon: '',
            code: 'ZZSCGL_GK',
          },
        },
        {
          path: 'baseInfo',
          component: () => import('@/views/Home'),
          name: 'baseInfo',
          meta: {
            title: '基地信息管理',
            icon: '',
            code: 'JDXXGL',
          },
        },
        {
          path: 'device',
          component: () => import('@/views/Home'),
          name: 'device',
          meta: {
            title: '设备管理',
            icon: '',
            code: 'SBGL',
          },
        },
        {
          path: 'monitor',
          component: () => import('@/views/Home'),
          name: 'monitor',
          meta: {
            title: '数据监测',
            icon: '',
            code: 'SJJC',
          },
        },
        {
          path: 'forest',
          component: () => import('@/views/Home'),
          name: 'forest',
          meta: {
            title: '种植管理',
            icon: '',
            code: 'ZZGL',
          },
        },
      ],
    },
    // 系统管理
    {
      path: '/home',
      component: ()=>import('@/views/Home.vue'),
      meta: {
        title: '系统管理',
        icon: '',
        code: 'ZZSCGL',
      },
    },
]